Use CRPEJob::GetSelectedPrinter to determine which printer has been specified with the report. If a non
BOOL GetSelectedPrinter (
CString &driverName,
CString &printerName,
CString &portName,
DEVMODE **mode );
Reference to the CString object containing the name of the printer driver for the currently selected printer in the report. | |
Reference to the CString object containing the name of the printer currently selected in the report. | |
Reference to the CString object containing the name of the port to which the currently selected printer is attached (for example, "LPT1"). | |
Specifies a pointer to a pointer to the Windows API structure DEVMODE that contains information on the currently selected printer, if the CRPEJob::GetSelectedPrinter method is completed successfully. For more information on the DEVMODE structure, see DEVMODE. |
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |